package cn.stylefeng.guns.modular.business.frequency.orderfinish.model.param;

import cn.stylefeng.guns.modular.business.frequency.orderfinishrecord.entity.OrderFinishRecord;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @Description:
 * @Author jzy
 * @Date 2021/3/10 0010
 **/
@Data
@EqualsAndHashCode(callSuper = true)
public class OrderFinishRecordVO extends OrderFinishRecord {

    private Long levelId;

    /**
     * 收车凭证
     */
    private List<String> takeCarImageList;

    /**
     * 付款凭证
     */
    private List<String> paymentImageList;

    /**
     * 商品描述
     */
    @NotBlank(message = "商品描述不能为空")
    private String goodsDesc;

    /**
     * 交易类型：1唤起微信 2微信生成二维码 3唤起支付宝 4支付宝生成二维码
     */
    @NotBlank(message = "交易类型不能为空")
    private String tradeType;

    /**
     * 订单id
     */
    @NotEmpty(message = "订单id不能为空")
    private List<Long> orderIdList;

    /**
     * openId
     */
    private String openId;

    /**
     * 订单唯一标识
     */
    private String orderNo;
}
